package org.ihelpuoo.db;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;

public interface ConnectionProxy extends Connection
{
	public ResultSetProxy queryForward(String sql) throws SQLException;

	public ResultSetProxy query(String sql) throws SQLException;

	public ResultSetProxy query(String sql, int scrollType) throws SQLException;

	public ResultSetProxy query(String sql, int scrollType, int cursorType) throws SQLException;

	public boolean execute(String sql) throws SQLException;

	public int executeUpdate(String sql) throws SQLException;

	public ResultSet modify(String tableName) throws SQLException;

	public ResultSetMetaData meta(String tableName) throws SQLException;

	public Connection connection();
}
